home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / research / resource / xprinter / ppds / sprn.ps < prev    next >
Encoding:
PostScript Printer Description  |  1997-07-08  |  15.0 KB  |  397 lines

  1. *PPD-Adobe: "4.1"
  2. *% PostScript(R) Printer Description File for SPARCprinter
  3. *% Date: %D%
  4. *% Copyright 1993 Sun Microsystems, Inc.  All Rights Reserved.
  5. *% Permission is granted for redistribution of this file as
  6. *% long as this copyright notice is intact and the contents
  7. *% of the file is not altered in any way from its original form.
  8. *% End of Copyright statement
  9. *% This file is here upon the request from Lotus (Paul Hickey)
  10. *FormatVersion: "4.1"
  11. *FileVersion: "%I%"
  12. *LanguageEncoding: ISOLatin1
  13. *LanguageVersion: English
  14. *PCFileName: "NP20.PPD"
  15. *Product: "(SPARCprinter)"
  16. *PSVersion: "(3.000) 0"
  17. *ModelName: "SunPics SPARCprinter"
  18. *ShortNickName: "SPARCprinter"
  19. *NickName: "SunPics SPARCprinter"
  20.  
  21.  
  22. *% ==== Device Capabilities ===============
  23. *LanguageLevel: "1"
  24. *Extensions: CMYK Composite
  25. *FreeVM: "4194304"
  26.  
  27. *ColorDevice: False
  28. *DefaultColorSpace: Gray
  29. *VariablePaperSize: False
  30. *TTRasterizer: None
  31. *FileSystem: False
  32.  
  33. *Protocols: BCP
  34. *Throughput: "12"
  35. *Password: "()" 
  36. *ExitServer: "
  37.   count 0 eq {  % is the password on the stack?
  38.     true 
  39.   }{
  40.     dup    % potential password
  41.     statusdict begin checkpassword end not
  42.   } ifelse 
  43.   {  %  if no password or not valid 
  44.     (WARNING : Cannot perform the exitserver command.) = 
  45.     (Password supplied is not valid.) = 
  46.     (Please contact the author of this software.) = flush
  47.     quit
  48.   } if 
  49.   serverdict begin exitserver
  50. "
  51. *End
  52.  
  53. *OpenUI *Resolution: PickOne
  54. *OrderDependency: 25 AnySetup *Resolution
  55. *DefaultResolution: 300dpi
  56. *Resolution 300dpi: "    mark {300 setres} stopped cleartomark"
  57. *Resolution 400dpi: "    mark {400 setres} stopped cleartomark"
  58. *?Resolution: "
  59.  save
  60.  enginedict begin 
  61.      CurrXres (     ) cvs print
  62.      (dpi) = flush 
  63.  end
  64.  restore
  65. "
  66. *End
  67. *CloseUI: *Resolution
  68.  
  69. *% Halftone Information ===============
  70. *ScreenFreq: "60.0"
  71. *ScreenAngle: "45.0"
  72. *DefaultScreenProc: Dot
  73. *ScreenProc Dot: "
  74.     {dup mul exch dup mul add 1.0 exch sub }
  75. "
  76. *End
  77. *ScreenProc Line: "{ pop }"
  78. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  79.  
  80. *DefaultTransfer: Null
  81. *Transfer Null: "{ }"
  82. *Transfer Null.Inverse: "{ 1 exch sub }"
  83.  
  84. *% Paper Handling ===================
  85.  
  86. *OpenUI *PageSize/Page Size: PickOne
  87. *OrderDependency: 30 AnySetup *PageSize
  88. *DefaultPageSize: Unknown
  89. *PageSize Letter: "statusdict begin lettertray end"
  90. *PageSize LetterSmall/Note: "statusdict begin lettersmalltray end"
  91. *PageSize Legal: "statusdict begin legaltray end"
  92. *PageSize Legal13: "statusdict begin legal13tray end"
  93. *PageSize A4: "statusdict begin a4tray end"
  94. *PageSize A4Small: "statusdict begin a4smalltray end"
  95. *PageSize B4: "statusdict begin b4tray end"
  96. *PageSize B5: "statusdict begin b5tray end"
  97. *?PageSize: "
  98.  save statusdict begin
  99.      /ENGINE_PAPER_SIZE EngineToken GetEngineValue
  100.      {
  101.         /CTL_TRAY_SIZE_LETTER  { (Letter) }
  102.         /CTL_TRAY_SIZE_LEGAL   { (Legal) }
  103.         /CTL_TRAY_SIZE_LEGAL13 { (Legal13) }
  104.         /CTL_TRAY_SIZE_A4 { (A4) }
  105.         /CTL_TRAY_SIZE_B4 { (B4) }
  106.         /CTL_TRAY_SIZE_B5 { (B5) }
  107.         /Default { (Unknown) }
  108.      } case
  109.      print flush
  110.  end restore
  111. "
  112. *End
  113. *CloseUI: *PageSize
  114.  
  115. *OpenUI *PageRegion/Page Region: PickOne
  116. *OrderDependency: 40 AnySetup *PageRegion
  117. *DefaultPageRegion: Unknown
  118. *PageRegion Letter: "letter"
  119. *PageRegion LetterSmall/Note: "lettersmall"
  120. *PageRegion Legal: "legal"
  121. *PageRegion Legal13: "legal13"
  122. *PageRegion A4: "a4"
  123. *PageRegion A4Small: "a4small"
  124. *PageRegion B4: "b4"
  125. *PageRegion B5: "b5"
  126. *CloseUI: *PageRegion
  127.  
  128. *% The following entries provide information about specific paper keywords.
  129. *DefaultImageableArea: Unknown
  130. *ImageableArea Letter: "11 11 601 781 "
  131. *ImageableArea LetterSmall/Note: "30 31 582 761 "
  132. *ImageableArea Legal: "11 11 601 997 "
  133. *ImageableArea Legal13: "11 11 601 925 "
  134. *ImageableArea A4: "11 12 584 830 "
  135. *ImageableArea A4Small: "27 31 568 811 "
  136. *ImageableArea B4: "12 11 717 1020 "
  137. *ImageableArea B5: "12 11 504 717 "
  138. *?ImageableArea: "
  139.  save
  140.    /cvp { (                ) cvs print ( ) print } bind def
  141.    /upperright {10000 mul floor 10000 div} bind def
  142.    /lowerleft {10000 mul ceiling 10000 div} bind def
  143.    newpath clippath pathbbox
  144.    4 -2 roll exch 2 {lowerleft cvp} repeat
  145.    exch 2 {upperright cvp} repeat flush
  146.  restore
  147. "
  148. *End
  149.  
  150.  
  151. *% These provide the physical dimensions of the paper (by keyword)
  152. *DefaultPaperDimension: Unknown
  153. *PaperDimension Letter: "612 792"
  154. *PaperDimension LetterSmall/Note: "612 792"
  155. *PaperDimension Legal: "612 1008"
  156. *PaperDimension Legal13: "612 936"
  157. *PaperDimension A4: "595 842"
  158. *PaperDimension A4Small: "595 842"
  159. *PaperDimension B4: "729 1032"
  160. *PaperDimension B5: "516 729"
  161.  
  162. *DefaultOutputBin: OnlyOne
  163. *DefaultOutputOrder: Reverse
  164. *DefaultInputSlot: OnlyOne
  165.  
  166.  
  167. *OpenUI *ManualFeed/Manual Feed:  Boolean
  168. *OrderDependency: 20 AnySetup *ManualFeed
  169. *DefaultManualFeed: False
  170. *ManualFeed True: "statusdict begin /manualfeedtimeout 300 store /manualfeed true store end"
  171. *ManualFeed False: "statusdict begin /manualfeed false store end"
  172. *?ManualFeed: "statusdict /manualfeed get
  173.  {(True)}{(False)}ifelse = flush"
  174. *End
  175. *CloseUI: *ManualFeed
  176.  
  177. *RequiresPageRegion OnlyOne: False
  178.  
  179.  
  180. *% Font Information =====================
  181. *DefaultFont: Courier
  182. *Font AvantGarde-Book: Standard "(001.001)" Standard ROM
  183. *Font AvantGarde-BookOblique: Standard "(001.001)" Standard ROM
  184. *Font AvantGarde-Demi: Standard "(001.001)" Standard ROM
  185. *Font AvantGarde-DemiOblique: Standard "(001.001)" Standard ROM
  186. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  187. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  188. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  189. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  190. *Font Courier: Standard "(001.004)" Standard ROM
  191. *Font Courier-Bold: Standard "(001.004)" Standard ROM
  192. *Font Courier-BoldOblique: Standard "(001.004)" Standard ROM
  193. *Font Courier-Oblique: Standard "(001.004)" Standard ROM
  194. *Font Helvetica: Standard "(001.001)" Standard ROM
  195. *Font Helvetica-Bold: Standard "(001.001)" Standard ROM
  196. *Font Helvetica-BoldOblique: Standard "(001.001)" Standard ROM
  197. *Font Helvetica-Narrow: Standard "(001.000)" Standard ROM
  198. *Font Helvetica-Narrow-Bold: Standard "(001.000)" Standard ROM
  199. *Font Helvetica-Narrow-BoldOblique: Standard "(001.000)" Standard ROM
  200. *Font Helvetica-Narrow-Oblique: Standard "(001.000)" Standard ROM
  201. *Font Helvetica-Oblique: Standard "(001.001)" Standard ROM
  202. *Font NewCenturySchlbk-Bold: Standard "(001.002)" Standard ROM
  203. *Font NewCenturySchlbk-BoldItalic: Standard "(001.001)" Standard ROM
  204. *Font NewCenturySchlbk-Italic: Standard "(001.001)" Standard ROM
  205. *Font NewCenturySchlbk-Roman: Standard "(001.002)" Standard ROM
  206. *Font Palatino-Bold: Standard "(001.000)" Standard ROM
  207. *Font Palatino-BoldItalic: Standard "(001.000)" Standard ROM
  208. *Font Palatino-Italic: Standard "(001.000)" Standard ROM
  209. *Font Palatino-Roman: Standard "(001.000)" Standard ROM
  210. *Font Symbol: Special "(001.001)" Special ROM
  211. *Font Times-Bold: Standard "(001.001)" Standard ROM
  212. *Font Times-BoldItalic: Standard "(001.001)" Standard ROM
  213. *Font Times-Italic: Standard "(001.001)" Standard ROM
  214. *Font Times-Roman: Standard "(001.001)" Standard ROM
  215. *Font ZapfChancery-MediumItalic: Standard "(001.002)" Standard ROM
  216. *Font ZapfDingbats: Special "(001.000)" Special ROM
  217. *Font LucidaSans: Standard "(001.000)" Standard ROM
  218. *Font LucidaSans-Italic: Standard "(001.000)" Standard ROM
  219. *Font LucidaSans-Bold: Standard "(001.000)" Standard ROM
  220. *Font LucidaSans-BoldItalic: Standard "(001.000)" Standard ROM
  221. *Font LucidaSans-Typewriter: Standard "(001.000)" Standard ROM
  222. *Font LucidaSans-TypewriterBold: Standard "(001.000)" Standard ROM
  223. *Font LucidaBright: Standard "(001.000)" Standard ROM
  224. *Font LucidaBright-Italic: Standard "(001.000)" Standard ROM
  225. *Font LucidaBright-Demi: Standard "(001.000)" Standard ROM
  226. *Font LucidaBright-DemiItalic: Standard "(001.000)" Standard ROM
  227. *Font Bembo: Standard "(001.000)" Standard ROM
  228. *Font Bembo-Italic: Standard "(001.000)" Standard ROM
  229. *Font Bembo-Bold: Standard "(001.000)" Standard ROM
  230. *Font Bembo-BoldItalic: Standard "(001.000)" Standard ROM
  231. *Font GillSans: Standard "(001.000)" Standard ROM
  232. *Font GillSans-Italic: Standard "(001.000)" Standard ROM
  233. *Font GillSans-Bold: Standard "(001.000)" Standard ROM
  234. *Font GillSans-BoldItalic: Standard "(001.000)" Standard ROM
  235. *Font Rockwell: Standard "(001.000)" Standard ROM
  236. *Font Rockwell-Italic: Standard "(001.000)" Standard ROM
  237. *Font Rockwell-Bold: Standard "(001.000)" Standard ROM
  238. *Font Rockwell-BoldItalic: Standard "(001.000)" Standard ROM
  239.  
  240. *?FontQuery: "
  241. save  4 dict begin /sv exch def
  242. /str (fonts/                              ) def
  243. /st2 128 string def
  244. {
  245.   count 0 gt {
  246.     dup st2 cvs (/) print print (:) print
  247.     dup FontDirectory exch known {pop (Yes)}{
  248.      str exch st2 cvs dup length /len exch def
  249.      6 exch putinterval str 0 len 6 add getinterval mark exch
  250.      { } st2 filenameforall counttomark 0 gt {
  251.       cleartomark (Yes)}{cleartomark (No)}ifelse
  252.     }ifelse = flush
  253.   }{ exit } ifelse
  254. } bind loop 
  255. (*) = flush
  256. sv end restore
  257. "
  258. *End
  259.  
  260. *?FontList: "
  261. save  2 dict begin /sv exch def
  262. /str 128 string def
  263. FontDirectory { pop == } bind forall flush 
  264. /filenameforall where { 
  265.  pop save (fonts/*) { 
  266.   dup length 6 sub 6 exch getinterval cvn ==  
  267.  } bind str filenameforall flush restore
  268. } if 
  269. (*) = flush
  270. sv end restore
  271. "
  272. *End
  273.  
  274. *% Printer Messages (verbatim from printer):
  275. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  276. *Message: "\FontName\ not found, using Courier"
  277.  
  278. *% Status (format: %%[ status: <one of these> ] %%)
  279. *Status: "idle"
  280. *Status: "busy"
  281. *Status: "waiting"
  282. *Status: "printing"
  283. *Status: "warming up"
  284. *Status: "PrinterError: buffer(s) queued after error"
  285. *Status: "PrinterError: sys err: handler internal error"
  286. *Status: "PrinterError: aio completion on an unknown request"
  287. *Status: "PrinterError: unknown value received from server"
  288. *Status: "PrinterError: unknown element received from server"
  289. *Status: "PrinterError: invalid method entry in dispatch table"
  290. *Status: "PrinterError: unknown error type received from driver"
  291. *Status: "PrinterError: press request for illegal canvas received from server"
  292. *Status: "PrinterError: protocol violation from server"
  293. *Status: "PrinterError: free request for illegal canvas received from server"
  294. *Status: "PrinterError: error in device clearing of a buffer"
  295. *Status: "PrinterError: dispatch table inconsistency, unrecognized type"
  296. *Status: "PrinterError: async io error"
  297. *Status: "PrinterError: error in reception of parameter from server"
  298. *Status: "PrinterError: error while creating canvas struct"
  299. *Status: "PrinterError: error on canvas file open"
  300. *Status: "PrinterError: error on mapping canvas"
  301. *Status: "PrinterError: error on tray type inquiry"
  302. *Status: "PrinterError: error on setting tray type"
  303. *Status: "PrinterError: asyncio kernel option must be enabled"
  304. *Status: "PrinterError:  waiting for manual media (paper) feed"
  305.  
  306. *PrinterError: "buffer(s) queued after error"
  307. *PrinterError: "sys err: handler internal error"
  308. *PrinterError: "aio completion on an unknown request"
  309. *PrinterError: "unknown value received from server"
  310. *PrinterError: "unknown element received from server"
  311. *PrinterError: "invalid method entry in dispatch table"
  312. *PrinterError: "unknown error type received from driver"
  313. *PrinterError: "press request for illegal canvas received from server"
  314. *PrinterError: "protocol violation from server"
  315. *PrinterError: "free request for illegal canvas received from server"
  316. *PrinterError: "error in device clearing of a buffer"
  317. *PrinterError: "dispatch table inconsistency, unrecognized type"
  318. *PrinterError: "async io error"
  319. *PrinterError: "error in reception of parameter from server"
  320. *PrinterError: "error while creating canvas struct"
  321. *PrinterError: "error on canvas file open"
  322. *PrinterError: "error on mapping canvas"
  323. *PrinterError: "error on tray type inquiry"
  324. *PrinterError: "error on setting tray type"
  325. *PrinterError: "asyncio kernel option must be enabled"
  326. *PrinterError: "waiting for manual media (paper) feed"
  327.  
  328.  
  329. *% Color Separation Information =====================
  330.  
  331. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  332.  
  333. *InkName: ProcessBlack/Process Black
  334. *InkName: CustomColor/Custom Color
  335. *InkName: ProcessCyan/Process Cyan
  336. *InkName: ProcessMagenta/Process Magenta
  337. *InkName: ProcessYellow/Process Yellow
  338.  
  339. *% For 60 lpi / 300 dpi =====================================================
  340.  
  341. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  342. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  343. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "45"
  344. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "45"
  345. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "45"
  346.  
  347. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  348. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  349. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  350. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  351. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  352.  
  353. *% For 53 lpi / 300 dpi =====================================================
  354.  
  355. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  356. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  357. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  358. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  359. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  360.  
  361. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  362. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  363. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  364. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  365. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  366.  
  367. *% For 80 lpi / 400 dpi =====================================================
  368.  
  369. *ColorSepScreenAngle ProcessBlack.80lpi.400dpi/80 lpi / 400 dpi: "45"
  370. *ColorSepScreenAngle CustomColor.80lpi.400dpi/80 lpi / 400 dpi: "45"
  371. *ColorSepScreenAngle ProcessCyan.80lpi.400dpi/80 lpi / 400 dpi: "45"
  372. *ColorSepScreenAngle ProcessMagenta.80lpi.400dpi/80 lpi / 400 dpi: "45"
  373. *ColorSepScreenAngle ProcessYellow.80lpi.400dpi/80 lpi / 400 dpi: "45"
  374.  
  375. *ColorSepScreenFreq ProcessBlack.80lpi.400dpi/80 lpi / 400 dpi: "80"
  376. *ColorSepScreenFreq CustomColor.80lpi.400dpi/80 lpi / 400 dpi: "80"
  377. *ColorSepScreenFreq ProcessCyan.80lpi.400dpi/80 lpi / 400 dpi: "80"
  378. *ColorSepScreenFreq ProcessMagenta.80lpi.400dpi/80 lpi / 400 dpi: "80"
  379. *ColorSepScreenFreq ProcessYellow.80lpi.400dpi/80 lpi / 400 dpi: "80"
  380.  
  381.  
  382. *% For 50 lpi / 400 dpi =====================================================
  383.  
  384. *ColorSepScreenAngle ProcessBlack.50lpi.400dpi/50 lpi / 400 dpi: "45"
  385. *ColorSepScreenAngle CustomColor.50lpi.400dpi/50 lpi / 400 dpi: "45"
  386. *ColorSepScreenAngle ProcessCyan.50lpi.400dpi/50 lpi / 400 dpi: "45"
  387. *ColorSepScreenAngle ProcessMagenta.50lpi.400dpi/50 lpi / 400 dpi: "45"
  388. *ColorSepScreenAngle ProcessYellow.50lpi.400dpi/50 lpi / 400 dpi: "45"
  389.  
  390. *ColorSepScreenFreq ProcessBlack.50lpi.400dpi/50 lpi / 400 dpi: "50"
  391. *ColorSepScreenFreq CustomColor.50lpi.400dpi/50 lpi / 400 dpi: "50"
  392. *ColorSepScreenFreq ProcessCyan.50lpi.400dpi/50 lpi / 400 dpi: "50"
  393. *ColorSepScreenFreq ProcessMagenta.50lpi.400dpi/50 lpi / 400 dpi: "50"
  394. *ColorSepScreenFreq ProcessYellow.50lpi.400dpi/50 lpi / 400 dpi: "50"
  395.  
  396. *% end of PPD file for SPARCprinter
  397.